.class Lcom/estrongs/android/taskmanager/gn;
.super Lcom/estrongs/android/taskmanager/tools/j;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/fx;

.field private final synthetic b:Z

.field private final synthetic c:Ljava/util/List;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/fx;Landroid/app/Activity;ZLjava/util/List;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/gn;->a:Lcom/estrongs/android/taskmanager/fx;

    iput-boolean p3, p0, Lcom/estrongs/android/taskmanager/gn;->b:Z

    iput-object p4, p0, Lcom/estrongs/android/taskmanager/gn;->c:Ljava/util/List;

    invoke-direct {p0, p2}, Lcom/estrongs/android/taskmanager/tools/j;-><init>(Landroid/app/Activity;)V

    return-void
.end method


# virtual methods
.method protected a(Ljava/lang/Boolean;)V
    .locals 6

    const/4 v5, 0x1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/gn;->a:Lcom/estrongs/android/taskmanager/fx;

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/fx;->a()V

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/gn;->b:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/gn;->a:Lcom/estrongs/android/taskmanager/fx;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/fx;->mActivity:Landroid/app/Activity;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/gn;->a:Lcom/estrongs/android/taskmanager/fx;

    const v2, 0x7f0700c3

    invoke-virtual {v1, v2}, Lcom/estrongs/android/taskmanager/fx;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v2, v5, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/estrongs/android/taskmanager/gn;->c:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_0
    invoke-super {p0, p1}, Lcom/estrongs/android/taskmanager/tools/j;->a(Ljava/lang/Boolean;)V

    return-void
.end method
